package cn.fastoo.common.entity;

import cn.fastoo.common.sampleframe.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Table;
import java.util.Date;

/**
 * Created by lowkey on 17/7/24.
 */
@Table(name = "user_account")
public class UserAccount extends BaseEntity {


    @Column(name = "user_base_id")
    private Long userBaseId;

    @Column(name = "api_key")
    private String apiKey;

    @Column(name = "sign_name")
    private String signName; // 签名

    @Column(name = "sign_status")
    private Integer signStatus;// 签名状态 0 未审核 1 已审核

    @Column(name = "sign_apply_time")
    private Date signApplyTime;// 签名申请时间

    @Column(name = "sign_audit_time")
    private Date signAuditTime;// 签名审核时间

    @Column(name = "need_dr")
    private Integer needDr;

    @Column(name = "dr_url")
    private String drUrl;



    public Long getUserBaseId() {
        return userBaseId;
    }

    public void setUserBaseId(Long userBaseId) {
        this.userBaseId = userBaseId;
    }


    public String getApiKey() {
        return apiKey;
    }

    public void setApiKey(String apiKey) {
        this.apiKey = apiKey;
    }

    public String getSignName() {
        return signName;
    }

    public void setSignName(String signName) {
        this.signName = signName;
    }

    public Integer getSignStatus() {
        return signStatus;
    }

    public void setSignStatus(Integer signStatus) {
        this.signStatus = signStatus;
    }

    public Date getSignApplyTime() {
        return signApplyTime;
    }

    public void setSignApplyTime(Date signApplyTime) {
        this.signApplyTime = signApplyTime;
    }

    public Date getSignAuditTime() {
        return signAuditTime;
    }

    public void setSignAuditTime(Date signAuditTime) {
        this.signAuditTime = signAuditTime;
    }

    public Integer getNeedDr() {
        return needDr;
    }

    public void setNeedDr(Integer needDr) {
        this.needDr = needDr;
    }

    public String getDrUrl() {
        return drUrl;
    }

    public void setDrUrl(String drUrl) {
        this.drUrl = drUrl;
    }
}
